package com.liyuxiang.service;

import com.liyuxiang.pojo.entity.Article;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liyuxiang.pojo.vo.ArticleVo;
import com.liyuxiang.pojo.vo.HotArticleVo;
import com.liyuxiang.pojo.vo.PageVo;
import com.liyuxiang.vm.ResponseResult;

import java.util.List;

/**
* @author liyuxiang
* @description 针对表【sg_article(文章表)】的数据库操作Service
* @createDate 2022-03-26 14:24:41
*/
public interface ArticleService extends IService<Article> {

    ResponseResult getHotArticleList();

    ResponseResult articleList(Integer pageNum, Integer pageSize, Long categoryId);

    ResponseResult getArticleById(Long id);
}
